cmake_minimum_required(VERSION 3.24)
project(Wordlist)

set(CMAKE_CXX_STANDARD 14)

# 设置静态库文件目录
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

# 动态库文件目录
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

# 可执行文件目录
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

#link_directories(${PROJECT_SOURCE_DIR}/lib)
add_subdirectory(src)
add_executable(Wordlist src/wordList/main.cpp)
target_link_libraries(Wordlist input output solver core)